package com.yicong.ants.manager.holder;

import android.content.Context;
import android.widget.ImageView;

import com.cchao.simplelib.core.UiHelper;
import com.yicong.ants.manager.ImageHelper;
import com.stay4it.banner.loader.ImageLoader;

public class GlideImageLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        imageView.setPadding(UiHelper.dp2px(10), 0, UiHelper.dp2px(10), 0);
        String ivRes = String.valueOf(path);
        ImageHelper.loadImageRound(imageView,ivRes);
    }

}
